From: Vincent Untz Date: Sun, 27 Mar 2011 05:11:54 +0000 (+0530) Subject: polkit: Add translator comment X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~8449 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=641d7a4ea41998ca38c27ff506843507ca39203b;p=gnome-shell.git polkit: Add translator comment Add a translator comment for the "Sorry, that didn't work. Please try again." string, as suggested by several people; this should help translators what "that" refers to. --- diff --git a/js/ui/polkitAuthenticationAgent.js b/js/ui/polkitAuthenticationAgent.js index 8f7703c9f..4a0fdf6ef 100644 --- a/js/ui/polkitAuthenticationAgent.js +++ b/js/ui/polkitAuthenticationAgent.js @@ -257,6 +257,10 @@ AuthenticationDialog.prototype = { * show "Sorry, that didn't work. Please try again." */ if (!this._errorMessageLabel.visible && !this._wasDismissed) { + /* Translators: "that didn't work" refers to the fact that the + * requested authentication was not gained; this can happen + * because of an authentication error (like invalid password), + * for instance. */ this._errorMessageLabel.set_text(_("Sorry, that didn\'t work. Please try again.")); this._errorMessageLabel.show(); this._infoMessageLabel.hide();